package com.community.web.user.service;

import com.community.model.entity.User;
import com.community.model.entity.Wallet;
import com.baomidou.mybatisplus.extension.service.IService;
import com.community.web.user.vo.TransferVo;

import java.math.BigDecimal;

/**
* @author admin
* @description 针对表【wallet】的数据库操作Service
* @createDate 2024-07-02 10:56:56
*/
public interface WalletService extends IService<Wallet> {

    Wallet select(Long userId, String password);

    void addMoney(Long userId, BigDecimal money);

    void transfer(Long userId, TransferVo transferVo);

    void sendCodeById(Long userId);
}
